package com.xiaozhen.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaozhen.blog.entity.Event;

import java.util.List;


/**
 * @create 2023-05-24 15:37
 */
public interface EventService extends IService<Event> {
    // 添加数据
    void add(Event event);

    /**
     * 获取通知消息列表
     * @param messageType
     */
    List<Event> getEventsByMessageType(int messageType);
}
